<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <div th:include="includeJs::bootstrap_js"></div>
   <!-- <style>
        .row{
            vertical-align: middle;
        }
    </style>-->
</head>
<body>
    <div class="container-scroller d-flex" style="align:center">
        <div th:replace="includeJs::admin_leftNav"></div>

        <div class="container-fluid page-body-wrapper">

            <div th:replace="includeJs::admin_nav"></div>
            <div class="main-panel">
                <div class="content-wrapper">
                    <div class="page-header" style="margin-left: 21%">
                        <h3>添加放标</h3>
                    </div>
                    <button class="btn btn-primary btn-xs" onclick="get_back()" style="margin-left:31%">返回</button>
                    <div >
                        <div class="col-lg-6">
                            <form method="post" th:action="@{/specimens/specimensAdd}" id="specimens-form">
                                <div class="form-group">
                                    <label>放标名称</label>
                                    <input type="text" name="name" id="name" class="form-control" placeholder="请输入放标名称" autocomplete="off" required/>
                                </div>
                                <div class="form-group">
                                    <label>投资期限(天)(定期才有固定期限)</label>
                                    <input type="text" name="investhorizon" id="investhorizon" class="form-control" placeholder="请输入投资期限(天)" autocomplete="off" />
                                </div>
                                <div class="form-group">
                                    <label>预期收益(%)</label>
                                    <input type="text" name="expectedyield" id="expectedyield" class="form-control" placeholder="请输入预期收益(%)" autocomplete="off" required/>
                                </div>
                                <div class="form-group">
                                    <label>新手标(%)</label>
                                    <input type="text" name="newStandard" id="newStandard" class="form-control" placeholder="请输入新手标(%)" autocomplete="off" required/>
                                </div>
                                <div class="form-group">
                                    <label>起投金额(元)</label>
                                    <input type="text" name="startmoney" id="startmoney" class="form-control" autocomplete="off" placeholder="请输入起投金额(元)" required/>
                                </div>
                                <div class="form-group">
                                    <label>总金额(元)</label>
                                    <input type="text" name="allmoney" id="allmoney" class="form-control" autocomplete="off" placeholder="请输入总金额(元)" required/>
                                </div>
                                <div class="form-group">
                                    <label>类型</label>
<!--
                                    <input type="text" name="types"  class="form-control" autocomplete="off" placeholder="请输入总金额(元)" required/>
-->
                                    <select class="form-control" name="types" id="types">
                                        <option value="">请选择类型</option>
                                        <option th:value="${T(com.ddf.publics.tool.Constant).SIGN_TYPE2}">定期</option>
                                        <option th:value="${T(com.ddf.publics.tool.Constant).SIGN_TYPE}">活期</option>
                                    </select>
                                </div>
                                <div class="form-group" align="center">
                                    <button type="submit" class="btn btn-success btn-xs" style="align:center">添加</button>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
<script language="JavaScript">
    function get_back() {
        history.go(-1);
    }
</script>
</html>